<?php 
use yii\helpers\Html;
use yii\widgets\ActiveForm;

 ?>
 <?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']])?>



  <!-- 加载编辑器的容器 -->
    <script id="container" name="content" type="text/plain"></script>



<?php echo Html::submitButton('提交',['class'=>'btn btn-success btn-block','style'=>'width:120px']); ?>
 <?php ActiveForm::end(); ?>
 <!-- 配置文件 -->
<script type="text/javascript" src="ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="ueditor/ueditor.all.js"></script>
<!-- 实例化编辑器 -->
 <script type="text/javascript">
        var ue = UE.getEditor('container');
        // UE.Editor.prototype._bkgetActionUrl = UE.Editor.prototype.getActionUrl;
        // UE.Editor.prototype.getActionUrl=function(action)
        // {
        //     var actUrl=this._bkgetActionUrl.call(this,action);
        //     if(action="uploadimage")
        //     {
        //         actUrl+="&path=upload/image/"+'okok'+"/"+'123';
        //     }
        //     return actUrl;
        // }
</script>
//git@git.oschina.net:tianjiuguo/dibazu.git
